Cleanup previous commit
authorjustbur <justin@burkett.cc>
Sun, 18 Oct 2015 18:15:48 +0000 (14:15 -0400)
committerjustbur <justin@burkett.cc>
Sun, 18 Oct 2015 18:15:48 +0000 (14:15 -0400)
which-key.el

index 0397722bc45ff04bad20889b2bf0cb9eb2956f46..d6c198b2947cc947473acebe284e3ee20ed50d86 100644 (file)
@@ -1220,9 +1220,8 @@ BUFFER that follow the key sequence KEY-SEQ."
 (defun which-key--n-empty-strings (n)
   "Produce a list of N empty strings."
   (let (res)
-    (dotimes (_i n)
-      (setq res (cons "" res)))
-    res))
+    (dotimes (_i n res)
+      (setq res (cons "" res)))))
 
 (defun which-key--pad (columns)
   "Pad COLUMNS to the same length using empty strings."